package com.brush.brushcommon.common.basic.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.brush.brushcommon.common.BasicEntity;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 题库题目关联表
 * </p>
 *
 * @author debug
 * @since 2024-07-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("basic_bank_of_topic")
@Schema(name = "BankOfTopic对象", description = "题库题目关联表")
public class BankOfTopic extends BasicEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @Schema(description = "题库id，可以是系统题库id也可以是用户题库id", nullable = true, requiredMode = Schema.RequiredMode.REQUIRED)
    private Long questionBankId;

    @Schema(description = "题目id", nullable = true, requiredMode = Schema.RequiredMode.REQUIRED)
    private Long topicId;

    @Schema(description = "该题目属于用户还是数据系统，用户0系统1", nullable = true, requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer type;

    @Schema(description = "创建人")
    private String gmtFounder;
}
